package bean;

import java.math.BigDecimal;

import data.bean.DataBean;
import data.bean.DatabaseEntity;
import data.bean.DatabaseField;

@DatabaseEntity(tableName="Productprofile")
public class Productprofile extends DataBean {

	static {
		REGISTER(Productprofile.class);
	}
	
	@DatabaseField(name="id", type=Long.class, autoGenerate=true, primaryKey=true)
	private Long id;
	
	@DatabaseField(name="name", type=String.class)
	private String name;
	
	@DatabaseField(name="price", type=BigDecimal.class)
	private BigDecimal price;
	
	@DatabaseField(name="description", type=String.class)
	private String description;
	
	@DatabaseField(name="imageurl", type=String.class)
	private String imageurl;

	@DatabaseField(name="status", type=Boolean.class)
	private Boolean status;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getImageurl() {
		return imageurl;
	}

	public void setImageurl(String imageurl) {
		this.imageurl = imageurl;
	}

	public Boolean getStatus() {
		return status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}
}
